#ifndef __MASTER_SERVER_SESSION_H__
#define __MASTER_SERVER_SESSION_H__

#pragma once

#include "ServerSession.h"

class MasterServerSession : public ServerSession
{
public:
	MasterServerSession();
	virtual ~MasterServerSession();

	VOID				DBResult( BYTE cate, BYTE ptcl, QueryResult * pData );

	eSERVER_TYPE		GetServerType() { return MASTER_SERVER;	}

private:
	VOID				OnDisconnect();
	VOID				OnConnect( BOOL bSuccess, DWORD dwSessionIndex );
	VOID				OnRecv( BYTE * pMsg, WORD wSize );
};

#endif // __MASTER_SERVER_SESSION_H__